package com.yunfei.yunhetong.tpdtMandator.bo;
import com.yunfei.yunhetong.tpdtMandator.entity.*;
import com.yunfei.utils.string.StringUtil;
/**
*@tablename tpdtmandator
*@author zhengyunfei
*@createDate Tue Jul 23 16:26:21 CST 2019
*/ 
public class TpdtmandatorBo implements java.io.Serializable{
	private String lMandatorid;
	private String cOrgcode;
	private String cName;
	private String cType;
	private String lRegcapital;
	private String cBusilicenum;
	private String cRegurate;
	private String cBusirange;
	private String cCreator;
	private String dCreatedate;
	private String cEvaldate;
	private String cEvaluaters;
	private String cStatus;
	private String cMemo;
	private String cShortname;
	private String cMandatorbrief;
	private String cLawname;
	private String cRegaddress;
	private String dSetuptime;
	private String cAssetmanagementno;
	private String cPrincipalcredit;
	private String cManagementability;
	private String cRiskability;
	private String cProductservice;
	private String cPrincipalstate;
	private String cFinancial;
	private String cSaletype;
	private String fCreditlimit;
	private String cCusttype;
	private String cIdentitytype;
	private String cIdentityno;
	private String cOrgqualify;
	private String cIschain;
	private String cMainbusiness;
	private String cCompanywebsite;
	private String cCompanyorgchart;
	private String cInvestmanagerglory;
	private String cInveststrategy;
	private String cInvestachievement;
	private String cRiskcontrol;
	private String cNewidentphotokey;
	private String cOldidentphotokey;
	private String cCooptype;
	private String cMakefileid;
	private String cAptitudeid;
	private String cManagerpaperid;
	private String cLivepictureid;
	private String cAuditsurveyid;
	private String dUpdatetime;
	private String cIsthreeinone;
	private String cPartnergrade;
	private String cIssales;
	private String field;
	private String order;
   /**
		* 更改排序字段
		* @return
		*/
   public String getField() {
		   return field;
   }
   public void setField(String field) {
		   this.field = field;
   }
   public String getOrder() {
		   return order;
   }
   public void setOrder(String order) {
		   this.order = order;
   }
	private int curNo;
	public int getCurNo() {
		return curNo;
	}	
	public void setCurNo(int curNo) {
		this.curNo = curNo;
	}
	private int curSize;
	public int getCurSize() {
		return curSize;
	}
	public void setCurSize(int curSize) {
		this.curSize = curSize;
	}
	public void setLMandatorid(String lMandatorid){
		this.lMandatorid=lMandatorid;
	}
	public String getLMandatorid(){
		return lMandatorid;
	}
	public void setCOrgcode(String cOrgcode){
		this.cOrgcode=cOrgcode;
	}
	public String getCOrgcode(){
		return cOrgcode;
	}
	public void setCName(String cName){
		this.cName=cName;
	}
	public String getCName(){
		return cName;
	}
	public void setCType(String cType){
		this.cType=cType;
	}
	public String getCType(){
		return cType;
	}
	public void setLRegcapital(String lRegcapital){
		this.lRegcapital=lRegcapital;
	}
	public String getLRegcapital(){
		return lRegcapital;
	}
	public void setCBusilicenum(String cBusilicenum){
		this.cBusilicenum=cBusilicenum;
	}
	public String getCBusilicenum(){
		return cBusilicenum;
	}
	public void setCRegurate(String cRegurate){
		this.cRegurate=cRegurate;
	}
	public String getCRegurate(){
		return cRegurate;
	}
	public void setCBusirange(String cBusirange){
		this.cBusirange=cBusirange;
	}
	public String getCBusirange(){
		return cBusirange;
	}
	public void setCCreator(String cCreator){
		this.cCreator=cCreator;
	}
	public String getCCreator(){
		return cCreator;
	}
	public void setDCreatedate(String dCreatedate){
		this.dCreatedate=dCreatedate;
	}
	public String getDCreatedate(){
		return dCreatedate;
	}
	public void setCEvaldate(String cEvaldate){
		this.cEvaldate=cEvaldate;
	}
	public String getCEvaldate(){
		return cEvaldate;
	}
	public void setCEvaluaters(String cEvaluaters){
		this.cEvaluaters=cEvaluaters;
	}
	public String getCEvaluaters(){
		return cEvaluaters;
	}
	public void setCStatus(String cStatus){
		this.cStatus=cStatus;
	}
	public String getCStatus(){
		return cStatus;
	}
	public void setCMemo(String cMemo){
		this.cMemo=cMemo;
	}
	public String getCMemo(){
		return cMemo;
	}
	public void setCShortname(String cShortname){
		this.cShortname=cShortname;
	}
	public String getCShortname(){
		return cShortname;
	}
	public void setCMandatorbrief(String cMandatorbrief){
		this.cMandatorbrief=cMandatorbrief;
	}
	public String getCMandatorbrief(){
		return cMandatorbrief;
	}
	public void setCLawname(String cLawname){
		this.cLawname=cLawname;
	}
	public String getCLawname(){
		return cLawname;
	}
	public void setCRegaddress(String cRegaddress){
		this.cRegaddress=cRegaddress;
	}
	public String getCRegaddress(){
		return cRegaddress;
	}
	public void setDSetuptime(String dSetuptime){
		this.dSetuptime=dSetuptime;
	}
	public String getDSetuptime(){
		return dSetuptime;
	}
	public void setCAssetmanagementno(String cAssetmanagementno){
		this.cAssetmanagementno=cAssetmanagementno;
	}
	public String getCAssetmanagementno(){
		return cAssetmanagementno;
	}
	public void setCPrincipalcredit(String cPrincipalcredit){
		this.cPrincipalcredit=cPrincipalcredit;
	}
	public String getCPrincipalcredit(){
		return cPrincipalcredit;
	}
	public void setCManagementability(String cManagementability){
		this.cManagementability=cManagementability;
	}
	public String getCManagementability(){
		return cManagementability;
	}
	public void setCRiskability(String cRiskability){
		this.cRiskability=cRiskability;
	}
	public String getCRiskability(){
		return cRiskability;
	}
	public void setCProductservice(String cProductservice){
		this.cProductservice=cProductservice;
	}
	public String getCProductservice(){
		return cProductservice;
	}
	public void setCPrincipalstate(String cPrincipalstate){
		this.cPrincipalstate=cPrincipalstate;
	}
	public String getCPrincipalstate(){
		return cPrincipalstate;
	}
	public void setCFinancial(String cFinancial){
		this.cFinancial=cFinancial;
	}
	public String getCFinancial(){
		return cFinancial;
	}
	public void setCSaletype(String cSaletype){
		this.cSaletype=cSaletype;
	}
	public String getCSaletype(){
		return cSaletype;
	}
	public void setFCreditlimit(String fCreditlimit){
		this.fCreditlimit=fCreditlimit;
	}
	public String getFCreditlimit(){
		return fCreditlimit;
	}
	public void setCCusttype(String cCusttype){
		this.cCusttype=cCusttype;
	}
	public String getCCusttype(){
		return cCusttype;
	}
	public void setCIdentitytype(String cIdentitytype){
		this.cIdentitytype=cIdentitytype;
	}
	public String getCIdentitytype(){
		return cIdentitytype;
	}
	public void setCIdentityno(String cIdentityno){
		this.cIdentityno=cIdentityno;
	}
	public String getCIdentityno(){
		return cIdentityno;
	}
	public void setCOrgqualify(String cOrgqualify){
		this.cOrgqualify=cOrgqualify;
	}
	public String getCOrgqualify(){
		return cOrgqualify;
	}
	public void setCIschain(String cIschain){
		this.cIschain=cIschain;
	}
	public String getCIschain(){
		return cIschain;
	}
	public void setCMainbusiness(String cMainbusiness){
		this.cMainbusiness=cMainbusiness;
	}
	public String getCMainbusiness(){
		return cMainbusiness;
	}
	public void setCCompanywebsite(String cCompanywebsite){
		this.cCompanywebsite=cCompanywebsite;
	}
	public String getCCompanywebsite(){
		return cCompanywebsite;
	}
	public void setCCompanyorgchart(String cCompanyorgchart){
		this.cCompanyorgchart=cCompanyorgchart;
	}
	public String getCCompanyorgchart(){
		return cCompanyorgchart;
	}
	public void setCInvestmanagerglory(String cInvestmanagerglory){
		this.cInvestmanagerglory=cInvestmanagerglory;
	}
	public String getCInvestmanagerglory(){
		return cInvestmanagerglory;
	}
	public void setCInveststrategy(String cInveststrategy){
		this.cInveststrategy=cInveststrategy;
	}
	public String getCInveststrategy(){
		return cInveststrategy;
	}
	public void setCInvestachievement(String cInvestachievement){
		this.cInvestachievement=cInvestachievement;
	}
	public String getCInvestachievement(){
		return cInvestachievement;
	}
	public void setCRiskcontrol(String cRiskcontrol){
		this.cRiskcontrol=cRiskcontrol;
	}
	public String getCRiskcontrol(){
		return cRiskcontrol;
	}
	public void setCNewidentphotokey(String cNewidentphotokey){
		this.cNewidentphotokey=cNewidentphotokey;
	}
	public String getCNewidentphotokey(){
		return cNewidentphotokey;
	}
	public void setCOldidentphotokey(String cOldidentphotokey){
		this.cOldidentphotokey=cOldidentphotokey;
	}
	public String getCOldidentphotokey(){
		return cOldidentphotokey;
	}
	public void setCCooptype(String cCooptype){
		this.cCooptype=cCooptype;
	}
	public String getCCooptype(){
		return cCooptype;
	}
	public void setCMakefileid(String cMakefileid){
		this.cMakefileid=cMakefileid;
	}
	public String getCMakefileid(){
		return cMakefileid;
	}
	public void setCAptitudeid(String cAptitudeid){
		this.cAptitudeid=cAptitudeid;
	}
	public String getCAptitudeid(){
		return cAptitudeid;
	}
	public void setCManagerpaperid(String cManagerpaperid){
		this.cManagerpaperid=cManagerpaperid;
	}
	public String getCManagerpaperid(){
		return cManagerpaperid;
	}
	public void setCLivepictureid(String cLivepictureid){
		this.cLivepictureid=cLivepictureid;
	}
	public String getCLivepictureid(){
		return cLivepictureid;
	}
	public void setCAuditsurveyid(String cAuditsurveyid){
		this.cAuditsurveyid=cAuditsurveyid;
	}
	public String getCAuditsurveyid(){
		return cAuditsurveyid;
	}
	public void setDUpdatetime(String dUpdatetime){
		this.dUpdatetime=dUpdatetime;
	}
	public String getDUpdatetime(){
		return dUpdatetime;
	}
	public void setCIsthreeinone(String cIsthreeinone){
		this.cIsthreeinone=cIsthreeinone;
	}
	public String getCIsthreeinone(){
		return cIsthreeinone;
	}
	public void setCPartnergrade(String cPartnergrade){
		this.cPartnergrade=cPartnergrade;
	}
	public String getCPartnergrade(){
		return cPartnergrade;
	}
	public void setCIssales(String cIssales){
		this.cIssales=cIssales;
	}
	public String getCIssales(){
		return cIssales;
	}
	public static TpdtmandatorEntity boToEntity(TpdtmandatorBo bo){
		TpdtmandatorEntity entity=new TpdtmandatorEntity();
		entity.setLMandatorid(bo.getLMandatorid());
		entity.setCOrgcode(bo.getCOrgcode());
		entity.setCName(bo.getCName());
		entity.setCType(bo.getCType());
		entity.setLRegcapital(bo.getLRegcapital());
		entity.setCBusilicenum(bo.getCBusilicenum());
		entity.setCRegurate(bo.getCRegurate());
		entity.setCBusirange(bo.getCBusirange());
		entity.setCCreator(bo.getCCreator());
		entity.setDCreatedate(bo.getDCreatedate());
		entity.setCEvaldate(bo.getCEvaldate());
		entity.setCEvaluaters(bo.getCEvaluaters());
		entity.setCStatus(bo.getCStatus());
		entity.setCMemo(bo.getCMemo());
		entity.setCShortname(bo.getCShortname());
		entity.setCMandatorbrief(bo.getCMandatorbrief());
		entity.setCLawname(bo.getCLawname());
		entity.setCRegaddress(bo.getCRegaddress());
		entity.setDSetuptime(bo.getDSetuptime());
		entity.setCAssetmanagementno(bo.getCAssetmanagementno());
		entity.setCPrincipalcredit(bo.getCPrincipalcredit());
		entity.setCManagementability(bo.getCManagementability());
		entity.setCRiskability(bo.getCRiskability());
		entity.setCProductservice(bo.getCProductservice());
		entity.setCPrincipalstate(bo.getCPrincipalstate());
		entity.setCFinancial(bo.getCFinancial());
		entity.setCSaletype(bo.getCSaletype());
		entity.setFCreditlimit(bo.getFCreditlimit());
		entity.setCCusttype(bo.getCCusttype());
		entity.setCIdentitytype(bo.getCIdentitytype());
		entity.setCIdentityno(bo.getCIdentityno());
		entity.setCOrgqualify(bo.getCOrgqualify());
		entity.setCIschain(bo.getCIschain());
		entity.setCMainbusiness(bo.getCMainbusiness());
		entity.setCCompanywebsite(bo.getCCompanywebsite());
		entity.setCCompanyorgchart(bo.getCCompanyorgchart());
		entity.setCInvestmanagerglory(bo.getCInvestmanagerglory());
		entity.setCInveststrategy(bo.getCInveststrategy());
		entity.setCInvestachievement(bo.getCInvestachievement());
		entity.setCRiskcontrol(bo.getCRiskcontrol());
		entity.setCNewidentphotokey(bo.getCNewidentphotokey());
		entity.setCOldidentphotokey(bo.getCOldidentphotokey());
		entity.setCCooptype(bo.getCCooptype());
		entity.setCMakefileid(bo.getCMakefileid());
		entity.setCAptitudeid(bo.getCAptitudeid());
		entity.setCManagerpaperid(bo.getCManagerpaperid());
		entity.setCLivepictureid(bo.getCLivepictureid());
		entity.setCAuditsurveyid(bo.getCAuditsurveyid());
		entity.setDUpdatetime(bo.getDUpdatetime());
		entity.setCIsthreeinone(bo.getCIsthreeinone());
		entity.setCPartnergrade(bo.getCPartnergrade());
		entity.setCIssales(bo.getCIssales());
		return entity;
	}
	public static TpdtmandatorBo entityToBo(TpdtmandatorEntity bo){
		TpdtmandatorBo entity=new TpdtmandatorBo();
		entity.setLMandatorid(bo.getLMandatorid());
		entity.setCOrgcode(bo.getCOrgcode());
		entity.setCName(bo.getCName());
		entity.setCType(bo.getCType());
		entity.setLRegcapital(bo.getLRegcapital());
		entity.setCBusilicenum(bo.getCBusilicenum());
		entity.setCRegurate(bo.getCRegurate());
		entity.setCBusirange(bo.getCBusirange());
		entity.setCCreator(bo.getCCreator());
		entity.setDCreatedate(bo.getDCreatedate());
		entity.setCEvaldate(bo.getCEvaldate());
		entity.setCEvaluaters(bo.getCEvaluaters());
		entity.setCStatus(bo.getCStatus());
		entity.setCMemo(bo.getCMemo());
		entity.setCShortname(bo.getCShortname());
		entity.setCMandatorbrief(bo.getCMandatorbrief());
		entity.setCLawname(bo.getCLawname());
		entity.setCRegaddress(bo.getCRegaddress());
		entity.setDSetuptime(bo.getDSetuptime());
		entity.setCAssetmanagementno(bo.getCAssetmanagementno());
		entity.setCPrincipalcredit(bo.getCPrincipalcredit());
		entity.setCManagementability(bo.getCManagementability());
		entity.setCRiskability(bo.getCRiskability());
		entity.setCProductservice(bo.getCProductservice());
		entity.setCPrincipalstate(bo.getCPrincipalstate());
		entity.setCFinancial(bo.getCFinancial());
		entity.setCSaletype(bo.getCSaletype());
		entity.setFCreditlimit(bo.getFCreditlimit());
		entity.setCCusttype(bo.getCCusttype());
		entity.setCIdentitytype(bo.getCIdentitytype());
		entity.setCIdentityno(bo.getCIdentityno());
		entity.setCOrgqualify(bo.getCOrgqualify());
		entity.setCIschain(bo.getCIschain());
		entity.setCMainbusiness(bo.getCMainbusiness());
		entity.setCCompanywebsite(bo.getCCompanywebsite());
		entity.setCCompanyorgchart(bo.getCCompanyorgchart());
		entity.setCInvestmanagerglory(bo.getCInvestmanagerglory());
		entity.setCInveststrategy(bo.getCInveststrategy());
		entity.setCInvestachievement(bo.getCInvestachievement());
		entity.setCRiskcontrol(bo.getCRiskcontrol());
		entity.setCNewidentphotokey(bo.getCNewidentphotokey());
		entity.setCOldidentphotokey(bo.getCOldidentphotokey());
		entity.setCCooptype(bo.getCCooptype());
		entity.setCMakefileid(bo.getCMakefileid());
		entity.setCAptitudeid(bo.getCAptitudeid());
		entity.setCManagerpaperid(bo.getCManagerpaperid());
		entity.setCLivepictureid(bo.getCLivepictureid());
		entity.setCAuditsurveyid(bo.getCAuditsurveyid());
		entity.setDUpdatetime(bo.getDUpdatetime());
		entity.setCIsthreeinone(bo.getCIsthreeinone());
		entity.setCPartnergrade(bo.getCPartnergrade());
		entity.setCIssales(bo.getCIssales());
		return entity;
	}
	public static String changeFieldColumn(String field){
		String result="";
			if(!StringUtil.isNullOrEmpty(field)){
				if(field.equals("lMandatorid")){
					result="L_MANDATORID";
				}
				if(field.equals("cOrgcode")){
					result="C_ORGCODE";
				}
				if(field.equals("cName")){
					result="C_NAME";
				}
				if(field.equals("cType")){
					result="C_TYPE";
				}
				if(field.equals("lRegcapital")){
					result="L_REGCAPITAL";
				}
				if(field.equals("cBusilicenum")){
					result="C_BUSILICENUM";
				}
				if(field.equals("cRegurate")){
					result="C_REGURATE";
				}
				if(field.equals("cBusirange")){
					result="C_BUSIRANGE";
				}
				if(field.equals("cCreator")){
					result="C_CREATOR";
				}
				if(field.equals("dCreatedate")){
					result="D_CREATEDATE";
				}
				if(field.equals("cEvaldate")){
					result="C_EVALDATE";
				}
				if(field.equals("cEvaluaters")){
					result="C_EVALUATERS";
				}
				if(field.equals("cStatus")){
					result="C_STATUS";
				}
				if(field.equals("cMemo")){
					result="C_MEMO";
				}
				if(field.equals("cShortname")){
					result="C_SHORTNAME";
				}
				if(field.equals("cMandatorbrief")){
					result="C_MANDATORBRIEF";
				}
				if(field.equals("cLawname")){
					result="C_LAWNAME";
				}
				if(field.equals("cRegaddress")){
					result="C_REGADDRESS";
				}
				if(field.equals("dSetuptime")){
					result="D_SETUPTIME";
				}
				if(field.equals("cAssetmanagementno")){
					result="C_ASSETMANAGEMENTNO";
				}
				if(field.equals("cPrincipalcredit")){
					result="C_PRINCIPALCREDIT";
				}
				if(field.equals("cManagementability")){
					result="C_MANAGEMENTABILITY";
				}
				if(field.equals("cRiskability")){
					result="C_RISKABILITY";
				}
				if(field.equals("cProductservice")){
					result="C_PRODUCTSERVICE";
				}
				if(field.equals("cPrincipalstate")){
					result="C_PRINCIPALSTATE";
				}
				if(field.equals("cFinancial")){
					result="C_FINANCIAL";
				}
				if(field.equals("cSaletype")){
					result="C_SALETYPE";
				}
				if(field.equals("fCreditlimit")){
					result="F_CREDITLIMIT";
				}
				if(field.equals("cCusttype")){
					result="C_CUSTTYPE";
				}
				if(field.equals("cIdentitytype")){
					result="C_IDENTITYTYPE";
				}
				if(field.equals("cIdentityno")){
					result="C_IDENTITYNO";
				}
				if(field.equals("cOrgqualify")){
					result="C_ORGQUALIFY";
				}
				if(field.equals("cIschain")){
					result="C_ISCHAIN";
				}
				if(field.equals("cMainbusiness")){
					result="C_MAINBUSINESS";
				}
				if(field.equals("cCompanywebsite")){
					result="C_COMPANYWEBSITE";
				}
				if(field.equals("cCompanyorgchart")){
					result="C_COMPANYORGCHART";
				}
				if(field.equals("cInvestmanagerglory")){
					result="C_INVESTMANAGERGLORY";
				}
				if(field.equals("cInveststrategy")){
					result="C_INVESTSTRATEGY";
				}
				if(field.equals("cInvestachievement")){
					result="C_INVESTACHIEVEMENT";
				}
				if(field.equals("cRiskcontrol")){
					result="C_RISKCONTROL";
				}
				if(field.equals("cNewidentphotokey")){
					result="C_NEWIDENTPHOTOKEY";
				}
				if(field.equals("cOldidentphotokey")){
					result="C_OLDIDENTPHOTOKEY";
				}
				if(field.equals("cCooptype")){
					result="C_COOPTYPE";
				}
				if(field.equals("cMakefileid")){
					result="C_MAKEFILEID";
				}
				if(field.equals("cAptitudeid")){
					result="C_APTITUDEID";
				}
				if(field.equals("cManagerpaperid")){
					result="C_MANAGERPAPERID";
				}
				if(field.equals("cLivepictureid")){
					result="C_LIVEPICTUREID";
				}
				if(field.equals("cAuditsurveyid")){
					result="C_AUDITSURVEYID";
				}
				if(field.equals("dUpdatetime")){
					result="D_UPDATETIME";
				}
				if(field.equals("cIsthreeinone")){
					result="C_ISTHREEINONE";
				}
				if(field.equals("cPartnergrade")){
					result="C_PARTNERGRADE";
				}
				if(field.equals("cIssales")){
					result="C_ISSALES";
				}
		}
		return result;
	}
}

